﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="XFBML.aspx.cs" Inherits="XFBML" Title="Untitled Page" %>

<%@ Register Assembly="facebook.web" Namespace="facebook.web" TagPrefix="cc1" %>
<%@ MasterType VirtualPath="~/Site.Master" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">
 <script type="text/javascript">     FB_RequireFeatures(["XFBML"], function () { FB.Facebook.init('<%=ConfigurationSettings.AppSettings["APIKey"] %>', "xd_receiver.htm"); });</script>
  <form action="http://www.example.com/handler.php" id="testForm" method="post">
<fb:friend-selector uid="<%=Master.API.uid%>" name="uid" idname="grab_me_please" prefill_id="<%=Master.API.uid%>"/>
<INPUT type="submit" value="test">
<p>
        Invite a friend to use this application...
        <fb:request-form action="default.aspx" method="POST" invite="true" type="Test App"
            content="You have been invited to the Test Example application. 
            <% = Server.HtmlEncode("<fb:req-choice url=\"http://apps.facebook.com/e_store/Default.aspx\" label=\"OK\" />") %> ">
            <fb:friend-selector showborder="false" actiontext="Invite your friends to use this application." />
            <fb:request-form-submit />
        </fb:request-form>
    </p>
</form>
  <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="/default.aspx" Target="_top">Home Page</asp:HyperLink><br />
  <fb:name firstnameonly="true" linked="false" useyou="false" uid="<%=Master.API.uid%>"></fb:name><br />
  <fb:profile-pic uid="<%=Master.API.uid%>"></fb:profile-pic>
  <fb:friend-selector uid="<%=Master.API.uid%>" name="uid" idname="<%=Master.API.uid%>" />


    <cc1:UserProfile ID="UserProfile1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="footer" Runat="Server">
 
</asp:Content>
